package vip.geeker.iotms.service;

import com.github.pagehelper.PageInfo;
import vip.geeker.iotms.dto.DeviceTypeDto;
import vip.geeker.iotms.help.Response;
import vip.geeker.iotms.persistance.model.DeviceType;

import java.util.List;

/**
 * @Author zhoup
 * @Date 2020/5/6 9:23 上午
 * @Description 设备类型服务接口
 * @Email acacio@foxmail.com
 * To change this template use File | Settings | Editor | File and Code Templates.
 **/
public interface IDeviceTypeService {

    PageInfo<DeviceType> queryPage(DeviceType type);

    List<DeviceType> queryDeviceTypeList(DeviceType type);

    Response addDeviceType(DeviceType type);

    List<DeviceTypeDto> queryDeviceTypeTree(DeviceTypeDto deviceTypeDto);

    DeviceType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DeviceType type);
}
